//引入插件
let express = require('express');
let path = require('path');
//搭建简单的服务器
let app = express();
//引入暴露模块
let router = require('./router');
app.use(router);
// 监听服务器
app.listen(3000, () => {
    console.log('服务器已启动。。。');
});